package cn.maszy.model.investment;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class B_T_Ufp_LeaveExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public B_T_Ufp_LeaveExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                return ;
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                return ;
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andLeavenameIsNull() {
            addCriterion("leavename is null");
            return (Criteria) this;
        }

        public Criteria andLeavenameIsNotNull() {
            addCriterion("leavename is not null");
            return (Criteria) this;
        }

        public Criteria andLeavenameEqualTo(String value) {
            addCriterion("leavename =", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameNotEqualTo(String value) {
            addCriterion("leavename <>", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameGreaterThan(String value) {
            addCriterion("leavename >", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameGreaterThanOrEqualTo(String value) {
            addCriterion("leavename >=", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameLessThan(String value) {
            addCriterion("leavename <", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameLessThanOrEqualTo(String value) {
            addCriterion("leavename <=", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameLike(String value) {
            addCriterion("leavename like", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameNotLike(String value) {
            addCriterion("leavename not like", value, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameIn(List<String> values) {
            addCriterion("leavename in", values, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameNotIn(List<String> values) {
            addCriterion("leavename not in", values, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameBetween(String value1, String value2) {
            addCriterion("leavename between", value1, value2, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavenameNotBetween(String value1, String value2) {
            addCriterion("leavename not between", value1, value2, "leavename");
            return (Criteria) this;
        }

        public Criteria andLeavetimeIsNull() {
            addCriterion("leavetime is null");
            return (Criteria) this;
        }

        public Criteria andLeavetimeIsNotNull() {
            addCriterion("leavetime is not null");
            return (Criteria) this;
        }

        public Criteria andLeavetimeEqualTo(String value) {
            addCriterion("leavetime =", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeNotEqualTo(String value) {
            addCriterion("leavetime <>", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeGreaterThan(String value) {
            addCriterion("leavetime >", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeGreaterThanOrEqualTo(String value) {
            addCriterion("leavetime >=", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeLessThan(String value) {
            addCriterion("leavetime <", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeLessThanOrEqualTo(String value) {
            addCriterion("leavetime <=", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeLike(String value) {
            addCriterion("leavetime like", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeNotLike(String value) {
            addCriterion("leavetime not like", value, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeIn(List<String> values) {
            addCriterion("leavetime in", values, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeNotIn(List<String> values) {
            addCriterion("leavetime not in", values, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeBetween(String value1, String value2) {
            addCriterion("leavetime between", value1, value2, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavetimeNotBetween(String value1, String value2) {
            addCriterion("leavetime not between", value1, value2, "leavetime");
            return (Criteria) this;
        }

        public Criteria andLeavestartIsNull() {
            addCriterion("leavestart is null");
            return (Criteria) this;
        }

        public Criteria andLeavestartIsNotNull() {
            addCriterion("leavestart is not null");
            return (Criteria) this;
        }

        public Criteria andLeavestartEqualTo(String value) {
            addCriterion("leavestart =", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartNotEqualTo(String value) {
            addCriterion("leavestart <>", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartGreaterThan(String value) {
            addCriterion("leavestart >", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartGreaterThanOrEqualTo(String value) {
            addCriterion("leavestart >=", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartLessThan(String value) {
            addCriterion("leavestart <", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartLessThanOrEqualTo(String value) {
            addCriterion("leavestart <=", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartLike(String value) {
            addCriterion("leavestart like", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartNotLike(String value) {
            addCriterion("leavestart not like", value, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartIn(List<String> values) {
            addCriterion("leavestart in", values, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartNotIn(List<String> values) {
            addCriterion("leavestart not in", values, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartBetween(String value1, String value2) {
            addCriterion("leavestart between", value1, value2, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavestartNotBetween(String value1, String value2) {
            addCriterion("leavestart not between", value1, value2, "leavestart");
            return (Criteria) this;
        }

        public Criteria andLeavewhileIsNull() {
            addCriterion("leavewhile is null");
            return (Criteria) this;
        }

        public Criteria andLeavewhileIsNotNull() {
            addCriterion("leavewhile is not null");
            return (Criteria) this;
        }

        public Criteria andLeavewhileEqualTo(String value) {
            addCriterion("leavewhile =", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileNotEqualTo(String value) {
            addCriterion("leavewhile <>", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileGreaterThan(String value) {
            addCriterion("leavewhile >", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileGreaterThanOrEqualTo(String value) {
            addCriterion("leavewhile >=", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileLessThan(String value) {
            addCriterion("leavewhile <", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileLessThanOrEqualTo(String value) {
            addCriterion("leavewhile <=", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileLike(String value) {
            addCriterion("leavewhile like", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileNotLike(String value) {
            addCriterion("leavewhile not like", value, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileIn(List<String> values) {
            addCriterion("leavewhile in", values, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileNotIn(List<String> values) {
            addCriterion("leavewhile not in", values, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileBetween(String value1, String value2) {
            addCriterion("leavewhile between", value1, value2, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavewhileNotBetween(String value1, String value2) {
            addCriterion("leavewhile not between", value1, value2, "leavewhile");
            return (Criteria) this;
        }

        public Criteria andLeavetextIsNull() {
            addCriterion("leavetext is null");
            return (Criteria) this;
        }

        public Criteria andLeavetextIsNotNull() {
            addCriterion("leavetext is not null");
            return (Criteria) this;
        }

        public Criteria andLeavetextEqualTo(String value) {
            addCriterion("leavetext =", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextNotEqualTo(String value) {
            addCriterion("leavetext <>", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextGreaterThan(String value) {
            addCriterion("leavetext >", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextGreaterThanOrEqualTo(String value) {
            addCriterion("leavetext >=", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextLessThan(String value) {
            addCriterion("leavetext <", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextLessThanOrEqualTo(String value) {
            addCriterion("leavetext <=", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextLike(String value) {
            addCriterion("leavetext like", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextNotLike(String value) {
            addCriterion("leavetext not like", value, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextIn(List<String> values) {
            addCriterion("leavetext in", values, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextNotIn(List<String> values) {
            addCriterion("leavetext not in", values, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextBetween(String value1, String value2) {
            addCriterion("leavetext between", value1, value2, "leavetext");
            return (Criteria) this;
        }

        public Criteria andLeavetextNotBetween(String value1, String value2) {
            addCriterion("leavetext not between", value1, value2, "leavetext");
            return (Criteria) this;
        }

        public Criteria andInstructionsIsNull() {
            addCriterion("instructions is null");
            return (Criteria) this;
        }

        public Criteria andInstructionsIsNotNull() {
            addCriterion("instructions is not null");
            return (Criteria) this;
        }

        public Criteria andInstructionsEqualTo(String value) {
            addCriterion("instructions =", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsNotEqualTo(String value) {
            addCriterion("instructions <>", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsGreaterThan(String value) {
            addCriterion("instructions >", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsGreaterThanOrEqualTo(String value) {
            addCriterion("instructions >=", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsLessThan(String value) {
            addCriterion("instructions <", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsLessThanOrEqualTo(String value) {
            addCriterion("instructions <=", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsLike(String value) {
            addCriterion("instructions like", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsNotLike(String value) {
            addCriterion("instructions not like", value, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsIn(List<String> values) {
            addCriterion("instructions in", values, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsNotIn(List<String> values) {
            addCriterion("instructions not in", values, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsBetween(String value1, String value2) {
            addCriterion("instructions between", value1, value2, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsNotBetween(String value1, String value2) {
            addCriterion("instructions not between", value1, value2, "instructions");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenIsNull() {
            addCriterion("instructionsren is null");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenIsNotNull() {
            addCriterion("instructionsren is not null");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenEqualTo(String value) {
            addCriterion("instructionsren =", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenNotEqualTo(String value) {
            addCriterion("instructionsren <>", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenGreaterThan(String value) {
            addCriterion("instructionsren >", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenGreaterThanOrEqualTo(String value) {
            addCriterion("instructionsren >=", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenLessThan(String value) {
            addCriterion("instructionsren <", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenLessThanOrEqualTo(String value) {
            addCriterion("instructionsren <=", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenLike(String value) {
            addCriterion("instructionsren like", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenNotLike(String value) {
            addCriterion("instructionsren not like", value, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenIn(List<String> values) {
            addCriterion("instructionsren in", values, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenNotIn(List<String> values) {
            addCriterion("instructionsren not in", values, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenBetween(String value1, String value2) {
            addCriterion("instructionsren between", value1, value2, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andInstructionsrenNotBetween(String value1, String value2) {
            addCriterion("instructionsren not between", value1, value2, "instructionsren");
            return (Criteria) this;
        }

        public Criteria andDepnameIsNull() {
            addCriterion("depName is null");
            return (Criteria) this;
        }

        public Criteria andDepnameIsNotNull() {
            addCriterion("depName is not null");
            return (Criteria) this;
        }

        public Criteria andDepnameEqualTo(String value) {
            addCriterion("depName =", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameNotEqualTo(String value) {
            addCriterion("depName <>", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameGreaterThan(String value) {
            addCriterion("depName >", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameGreaterThanOrEqualTo(String value) {
            addCriterion("depName >=", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameLessThan(String value) {
            addCriterion("depName <", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameLessThanOrEqualTo(String value) {
            addCriterion("depName <=", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameLike(String value) {
            addCriterion("depName like", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameNotLike(String value) {
            addCriterion("depName not like", value, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameIn(List<String> values) {
            addCriterion("depName in", values, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameNotIn(List<String> values) {
            addCriterion("depName not in", values, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameBetween(String value1, String value2) {
            addCriterion("depName between", value1, value2, "depname");
            return (Criteria) this;
        }

        public Criteria andDepnameNotBetween(String value1, String value2) {
            addCriterion("depName not between", value1, value2, "depname");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}